!
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{
            width: 182px;
            height: 325px;
            background: url(./2.webp) no-repeat;
            animation:walk 1s steps(6) infinite;
        }
        @keyframes walk {
            0%{
                background-position: 0 0 ;
            }
            100%{
                background-position: -1100px 0;
            }
        }
    </style>
</head>
<body>
    <img src="2.webp" alt="">
    <div>

    </div>
</body>
</html>